<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="__PUBLIC__/admin/sncss/css/timeselector.css">

</head>

<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
		<li><a>首页</a></li>
		<li><a>主播管理</a></li>
		<li><a>认证列表</a></li>
		</ul>
		</div>

		<div class="formbody">

		<div class="formtitle"><span>主播信息</span></div>
			<form id="formid" name="form1" method="post" action="{:U('/Home/Audit/sendaudit_success')}" onsubmit="return form1_submit();">
		<input name="did"  type="hidden" class="dfinput" value="{$sendaudit['id']}" />
		<input name="uuid"  type="hidden" class="dfinput" value="{$sendaudit['uuid']}" />
		<input name="type"  type="hidden" class="dfinput" value="{$type}" />
		<input name="p"  type="hidden" class="dfinput" value="{$p}" />
		<ul class="forminfo">
		<li><label>用户编号</label><input type="text" class="dfinput" value="{$sendaudit['uuid']}" disabled /><i></i></li>
		<li><label>昵称</label><input type="text" class="dfinput" value="{$sendaudit['nickname']}" disabled /><i></i></li>
		<li><label>手机号</label><input type="text" class="dfinput" value="{$sendaudit['username']}" disabled /><i></i></li>
		<li><label>讲述类音频</label><label><audio src="<?php echo "http://audio.heardtech.com/".$sendaudit['describe_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></label><i></i></li>
		<li><label>认证音频</label><label><audio src="<?php echo "http://audio.heardtech.com/".$sendaudit['url'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></label><i></i></li>


		<li><label>&nbsp;</label><label>&nbsp;</label></li>
		<li><label>&nbsp;</label>
		<?php if($sendaudit['type'] != 1){?>
		<input type="submit" class="btn" value="审核通过"/>
		<?php }?>
		<input type="button" class="btn" href="javascript:void(0);" id="inside" value="审核驳回"/>
		</li>
		</ul>
			</form>

		</div>
<style type="text/css">
.mainlist{padding:10px;}
</style>
</body>
<script src="__PUBLIC__/js/jquery1.8.3.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script src="__PUBLIC__/checkbox/js/input.js"></script>

<script type="text/javascript">
var change = function(sel){
		document.getElementById("sendaudit_message").value = sel.value;
}
$("#inside").click(function(){
		layer.open({title: false, type: 1, area: ['600px', '300px'], //宽高
				content: '<div class="mainlist"><form id="form2" name="form2" method="post" action="/Home/Audit/fail_sendaudit" onsubmit="return form2_submit();"><select id="font_size" class="newselect" onchange="change(this)">'
				+'<option value="就是任性，就是想驳回，不需要理由">备选驳回原因</option>'
				+'<option value="请调整干声和背景音乐的音量比例">请调整干声和背景音乐的音量比例</option>'
				+'<option value="请调对音频做降噪处理">请调对音频做降噪处理</option>'
				+'<option value="请对干声和背景音做合声处理">请对干声和背景音做合声处理</option>'
				+'<option value="请勿对音频做分声道处理">请勿对音频做分声道处理</option>'
				+'<option value="请提交有干声及背景音制作的音频文件">请提交有干声及背景音制作的音频文件</option>'
				+'</select><br><br><textarea class="textinput" name="sendaudit_message" id="sendaudit_message"></textarea>'
				+'<input name="did"  type="hidden" class="dfinput" value="{$sendaudit[id]}" />'
				+'<input name="uuid"  type="hidden" class="dfinput" value="{$sendaudit[uuid]}" />'
				+'<input name="type"  type="hidden" class="dfinput" value="{$type}" />'
				+'<input name="submit_type" type="submit" class="btn" value="审核驳回"/></form></div>'
		});
});
</script>
<script type="text/javascript">

		function form2_submit(){
				var sendaudit_message= $('#sendaudit_message').val();
				if(sendaudit_message.length==0){
						layer.msg('必须填写理由');return false;
						// alert('必须填写理由');return false;
				}
		}
</script>

</html>
